package org.example.coursemangementserver.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.example.coursemangementserver.pojo.entity.Admin;

/**
 * @author 12438
 */
public interface AdminMapper extends BaseMapper<Admin> {

    @Select("select * from admins where count = #{username}")
    Admin selectByUsername(String username);
}
